package br.com.sgs.facade;

import br.com.sgs.persist.Area;



/**
 * @author UpTech
 */
public class FacadeArea {

    private Area area = new Area();
   
    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }

  

        public String cadastrarArea() {
        String status = new Area().cadastrarArea(area);
        this.area = new Area();
        return status;
    }

    public String alterarArea() {

        String status = new Area().alterarArea(area);
        this.area = new Area();
        return status;
    }

    public String excluirArea() {

        String status = new Area().excluirArea(area);
        this.area = new Area();
        return status;
    }

    public String cancelaArea() {

        String status = new Area().cancelarArea();
        this.area = new Area();
        return status;
    }
   
}
